<?php $this->renderPartial('../common/_header');?>
<div class="container my-container">
    <div class="row">
        <div class="col col-lg-3">
            <?php $this->renderPartial('//common/'.($this->user ? 'menu' : 'menu_guest'));?>
        </div>
        <div class="col col-lg-9">

            <div id="content-verify-phone">

                <div class="col col-lg-12">  

                    <div class="page-header">
                        <h3>Xác nhận SĐT</h3>
                    </div>
                    <?php $form=$this->beginWidget('CActiveForm', array(
                            'id'=>'verify-phone-form',
                            'enableClientValidation'=>true,
                            'clientOptions'=>array(
                                'validateOnSubmit' => true,
                                'validateOnChange' => true,
                            ),
                            'enableAjaxValidation'=>false,
                            'htmlOptions' => array('class' => 'form-horizontal my-form')
                        )); ?>


                    <div class="row">
                        <div class="col col-lg-8">
                            <?php echo $form->textField($model,'code',array('placeholder'=> $model->getAttributeLabel('code'),'maxlength'=>4)); ?>
                            <?php echo $form->error($model,'code');?>
                        </div>
                        <div class="col col-lg-4">
                            <button class="btn btn-primary" type="submit">
                                <i class="icon-pencil"></i> Xác nhận SĐT
                            </button>  
                        </div>
                    </div> 

                    <?php $this->endWidget(); ?>
                </div>

            </div>
        </div>
    </div>

</div>